package com.ruoyi.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工档案对象 staff_profile
 * 
 * @author sauger
 * @date 2022-03-11
 */

@Data
public class StaffProfile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 账号id */
    @Excel(name = "账号id")
    private Integer userId;

    private Integer businessDepartmentId;

    private String businessDepartmentName;

    @Excel(name = "登录账号")
    private String loginName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Integer gender;

    /** 身份证 */
    private String idNumber;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 在职状态 */
    @Excel(name = "在职状态")
    private Integer onboardStatus;

    /** 工资卡银行 */
    private String bankName;

    /** 工资卡支行 */
    private String bankBranch;

    /** 工资卡号 */
    @Excel(name = "工资卡号")
    private String bankNumber;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 生日 */
    private Date birthday;

    /** 是否已婚 */
    @Excel(name = "是否已婚")
    private String married;

    /** 居住地址 */
    private String livingPlace;

    /** 微信/qq */
    private String contact;

    /** 籍贯地址 */
    private String birthPlace;

    /** 城镇户口 */
    private String urban;

    /** 上次社保城市 */
    private String lastInsuranceCity;

    /** 公积金账号 */
    private String accumulationFundAccount;

    /** 学历 */
    @Excel(name = "学历")
    private Long educationLevel;

    /** 毕业学校 */
    private String highSchool;

    /** 证书编号 */
    private String graduationNumber;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onboardDate;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date departDate;

    /** 紧急联系方式 */
    private String emergeContact;


}
